//
//  MyLetterViewController.m
//  JinChengYun
//
//  Created by 金橙云 on 2017/2/28.
//  Copyright © 2017年 金橙云. All rights reserved.
//

#import "MyLetterViewController.h"

@interface MyLetterViewController ()

{
    UIView *_aView;
}
@end

@implementation MyLetterViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"我的站内信";
    self.view.backgroundColor = BgColor;
    _aView = [[UIView alloc] initWithFrame:CGRectMake(0, 64, B_WIDTH, 30)];
    _aView.backgroundColor = [UIColor colorWithHexString:@"#eb6100"];
    [self.view addSubview:_aView];
    

    NSArray *titArr = [NSArray arrayWithObjects:@"发送时间",@"发件主题",@"发件人",@"操作", nil];
   
    for (int i = 0; i<titArr.count; i++)
    {
        UILabel *titkLab = [[UILabel alloc] init];
        titkLab.frame = CGRectMake(20+i*100, 8, B_WIDTH-20*2, 16);
        titkLab.textColor = [UIColor whiteColor];
        //titkLab.textAlignment = NSTextAlignmentCenter;
        titkLab.font = [UIFont systemFontOfSize:14];
        titkLab.text = titArr[i];
        [_aView addSubview:titkLab];
    }
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
